<?php
$router = new \Phalcon\Mvc\Router();
// sp dm
$router->add("/([^/]*)-([0-9]*)/", array(
    'controller' => 'products',
    'id'=> 2
));
// sp chi tiet
$router->add("/san-pham/([^/]*)-([0-9]*).html", array(
    'controller' => 'product',
    'id'=> 2
));

return $router;
?>